/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-21 09:18:32
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2021-07-26 16:30:58
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
const cManagement = () => import('@/layout/index.vue')
const ContractList = () => import('@/views/contractManagement/ContractList.vue')
const CheckWait = () => import('@/views/contractManagement/Check-wait.vue')
const CheckAlready = () =>
  import('@/views/contractManagement/Check-already.vue')
const CheckEnd = () => import('@/views/contractManagement/Check-end.vue')
const CheckContract = () =>
  import('@/views/contractManagement/Check-contract.vue')
const NewContract = () => import('@/views/contractManagement/New-contract.vue')
const ContractApproval = () =>
  import('@/views/contractManagement/ContractApproval.vue')
const AgencyApproval = () =>
  import('@/views/contractManagement/AgencyApproval.vue')

export default [
  {
    path: '/cManagement',
    component: cManagement,
    name: 'cManagement',
    meta: {
      title: '合同管理',
    },
    icon: 'el-icon-document-copy',
    children: [
      {
        path: 'ContractList',
        name: 'ContractList',
        component: ContractList,
        meta: {
          title: '合同列表',
        },
        icon: 'el-icon-tickets',
      },
      {
        path: 'CheckWait',
        name: 'CheckWait',
        component: CheckWait,
        meta: {
          title: '查看-待签订',
        },
        hidden: true,
      },
      {
        path: 'CheckAlready',
        name: 'CheckAlready',
        component: CheckAlready,
        meta: {
          title: '查看-已签订',
        },
        hidden: true,
      },
      {
        path: 'CheckEnd',
        name: 'CheckEnd',
        component: CheckEnd,
        meta: {
          title: '查看-已终止',
        },
        hidden: true,
      },
      {
        path: 'NewContract',
        name: 'NewContract',
        component: NewContract,
        meta: {
          title: '新增合同',
        },
        icon: 'el-icon-edit-outline',
      },
      {
        path: 'ContractApproval',
        name: 'ContractApproval',
        component: ContractApproval,
        meta: {
          title: '审核合同',
        },
        icon: 'el-icon-edit',
      },
      {
        path: 'CheckContract',
        name: 'CheckContract',
        component: CheckContract,
        meta: {
          title: '查看合同',
        },
        hidden: true,
      },
      {
        path: 'AgencyApproval',
        name: 'AgencyApproval',
        component: AgencyApproval,
        meta: {
          title: '签约合同',
        },
        // hidden: true,
      },
    ],
  },
]
